package bean;

import java.util.Date;

/**
 * Story entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Story implements java.io.Serializable {

	// Fields

	private Integer storyId;
	private User user;
	private String storyDescription;
	private String linkTo;
	private Date createdAt;

	// Constructors

	/** default constructor */
	public Story() {
	}

	/** full constructor */
	public Story(Integer storyId, User user, String storyDescription,
			String linkTo, Date createdAt) {
		this.storyId = storyId;
		this.user = user;
		this.storyDescription = storyDescription;
		this.linkTo = linkTo;
		this.createdAt = createdAt;
	}

	// Property accessors

	public Integer getStoryId() {
		return this.storyId;
	}

	public void setStoryId(Integer storyId) {
		this.storyId = storyId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getStoryDescription() {
		return this.storyDescription;
	}

	public void setStoryDescription(String storyDescription) {
		this.storyDescription = storyDescription;
	}

	public String getLinkTo() {
		return this.linkTo;
	}

	public void setLinkTo(String linkTo) {
		this.linkTo = linkTo;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

}